package FactoryPattern.FactoryMethod;

public class DellFactory implements ComputerFactory {

	@Override
	public Computer create(String flag) {
		if(flag.equals("T100")){
			return new DellT100();
		}else if(flag.equals("T200")){
			return new DellT200();
		}
		return null;
	}

}
